//
// Created by Administrator on 2017/9/30 0030.
//

#ifndef NDKMASTER_WHITE_HEAD_H
#define NDKMASTER_WHITE_HEAD_H

// 获取数组的大小
#include <stdint.h>
#include "base.h"

jstring __raw_md5(JNIEnv *env,jobject clazz, jstring);

jint __write_str(JNIEnv *, jobject clazz, jstring, jstring);

jstring __read_str(JNIEnv *, jobject clazz, jstring);

/***
 * 获取app包名
 * @param env
 * @param thiz
 * @param context
 * @return
 */
jstring __get_pkg_name(JNIEnv *env, jobject thiz, jobject context);

/***
 * 获取纯粹的签名
 * @return
 */
jstring __get_app_sign(JNIEnv *,jobject, jobject);

/***
 * 获取app签名
 * @param env
 * @param thiz
 * @param context
 * @return
 */
jstring __get_custom_sign(JNIEnv *env, jobject thiz, jobject context);

jint __delete_dir(JNIEnv *env, jobject jclazz, jstring path);

jstring __encode_base64(JNIEnv *env, jobject jclazz, jstring path);

jstring __decode_base64(JNIEnv *env, jobject jclazz, jstring path);
#endif //NDKMASTER_WHITE_HEAD_H
